/**
 * Copyright (c) 2014, 2017, Oracle and/or its affiliates.
 * The Universal Permissive License (UPL), Version 1.0
 */
"use strict";
var o_a=this;function o_(a,g,b){a=a.split(".");b=b||o_a;a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var c;a.length&&(c=a.shift());)a.length||void 0===g?b=b[c]?b[c]:b[c]={}:b[c]=g};/*
 Copyright 2013 jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 Copyright 2013 jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 Copyright 2013 jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 Copyright 2013 jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
*/
define(["require","ojL10n!ojtranslations/nls/ojtranslations","promise"],function(a,g){var b={};"undefined"!==typeof window?b=window:"undefined"!==typeof self&&(b=self);var c=b.oj,d=b.oj={version:"2.3.0",build:"3",revision:"30989",noConflict:function(){b.oj=c}};d.t={};o_("Logger",d.t,d);d.t.wla=0;o_("Logger.LEVEL_NONE",d.t.wla,d);d.t.gP=1;o_("Logger.LEVEL_ERROR",d.t.gP,d);d.t.Vr=2;o_("Logger.LEVEL_WARN",d.t.Vr,d);d.t.Du=3;o_("Logger.LEVEL_INFO",d.t.Du,d);d.t.F0=
4;o_("Logger.LEVEL_LOG",d.t.F0,d);d.t.Ana="error";d.t.Dna="warn";d.t.Bna="info";d.t.Cna="log";d.t.Ey={level:d.t.gP,writer:null};d.t.Yb=d.t.Ey;d.t.error=function(a){d.t.gF(d.t.gP,d.t.Ana,arguments)};o_("Logger.error",d.t.error,d);d.t.info=function(a){d.t.gF(d.t.Du,d.t.Bna,arguments)};o_("Logger.info",d.t.info,d);d.t.warn=function(a){d.t.gF(d.t.Vr,d.t.Dna,arguments)};o_("Logger.warn",d.t.warn,d);d.t.log=function(a){d.t.gF(d.t.F0,d.t.Cna,arguments)};o_("Logger.log",d.t.log,d);d.t.option=function(a,b){var c=
{},e;if(0==arguments.length){for(e in d.t.Yb)d.t.Yb.hasOwnProperty(e)&&(c[e]=d.t.Yb[e]);return c}if("string"===typeof a&&void 0===b)return void 0===d.t.Yb[a]?null:d.t.Yb[a];if("string"===typeof a)d.t.Yb[a]=b;else for(e in a)a.hasOwnProperty(e)&&d.t.option(e,a[e])};o_("Logger.option",d.t.option,d);d.t.gF=function(a,b,c){if(!(d.t.option("level")<a)){var e=d.t.dwa();null!=e&&(1==c.length&&c[0]instanceof Function&&(c=[c[0]()]),e[b]&&e[b].apply?e[b].apply(e,c):e[b]&&(e[b]=Function.prototype.bind.call(e[b],
e),d.t.gF(a,b,c)))}};d.t.dwa=function(){var a=null;d.t.option("writer")?a=d.t.option("writer"):"undefined"!==typeof window&&void 0!==window.console&&(a=window.console);return a};d.t.yNa=function(a){return void 0!==d.t.Ey[a]};var e=b.__ojCheckpointManager;d.rl={};o_("CHECKPOINT_MANAGER",d.rl,d);d.rl.JLa=function(a,b){e&&e.startCheckpoint(a,b)};o_("CHECKPOINT_MANAGER.startCheckpoint",d.rl.JLa,d);d.rl.BHa=function(a){e&&e.endCheckpoint(a)};o_("CHECKPOINT_MANAGER.endCheckpoint",d.rl.BHa,d);d.rl.VY=function(a){return e?
e.getRecord(a):void 0};o_("CHECKPOINT_MANAGER.getRecord",d.rl.VY,d);d.rl.Mia=function(a){return e?e.matchRecords(a):[]};o_("CHECKPOINT_MANAGER.matchRecords",d.rl.Mia,d);d.rl.yHa=function(a){d.t.info(function(){for(var b="Checkpoint Records:",c=d.rl.Mia(a),e=0;e<c.length;e++){var f=c[e],b=b+"\n"+f.name,g=f.description;null!=g&&(b=b+" ("+g+")");b+=":\n";b=b+"start: "+f.start+"\tduration: "+f.duration}return b})};o_("CHECKPOINT_MANAGER.dump",d.rl.yHa,d);d.b=function(){this.Init()};o_("Object",d.b,d);
d.b.u=null;d.b.xX="oj.Object";d.b.ana=/function\s+([\w\$][\w\$\d]*)\s*\(/;d.b.prototype={};d.b.prototype.constructor=d.b;d.b.g=function(a,b){var c=null,e=null,f;for(f in b)if(b.hasOwnProperty(f)){c=f;e=b[f];break}var g=a.split(".");f=d[g[0]];g=g[2];if(c!=g&&null!=c){var s=f.cW;s||(s={},f.cW=s);s[c]=g;f.prototype[g]=e}};d.b.sa=function(a,b,c){d.p.ut(a);d.p.Zz(b);d.p.WX(c);void 0===b&&(b=d.b);d.p.assert(a!==b,"Class can't extend itself");var e=d.b.$Ea;e.prototype=b.prototype;a.prototype=new e;a.prototype.constructor=
a;a.u=a.superclass=b.prototype;c&&(a.xX=c)};o_("Object.createSubclass",d.b.sa,d);d.b.QGa=function(a,b){var c;d.p.ut(a);d.p.assert(null!=b,"source object cannot be null");for(c in b)b.hasOwnProperty(c)&&(a.prototype[c]=b[c])};o_("Object.copyPropertiesForClass",d.b.QGa,d);d.b.$Ea=function(){};d.b.prototype.gga=function(a){if(void 0===a)a=this;else if(null===a)return null;return a.constructor};d.b.g("Object.prototype.getClass",{gga:d.b.prototype.gga});d.b.prototype.clone=function(){var a=new this.constructor;
d.Uc.yf(a,this);return a};d.b.g("Object.prototype.clone",{clone:d.b.prototype.clone});d.b.prototype.toString=function(){return this.M_()};d.b.g("Object.prototype.toString",{toString:d.b.prototype.toString});d.b.prototype.M_=function(){return this.getTypeName()+" Object"};d.b.g("Object.prototype.toDebugString",{M_:d.b.prototype.M_});d.b.getTypeName=function(a){d.p.ut(a);var b=a.xX;null==b&&(b=a.toString(),b=(b=d.b.ana.exec(b))?b[1]:"anonymous",a.xX=b);return b};o_("Object.getTypeName",d.b.getTypeName,
d);d.b.prototype.getTypeName=function(){return d.b.getTypeName(this.constructor)};d.b.g("Object.prototype.getTypeName",{getTypeName:d.b.prototype.getTypeName});d.b.prototype.Init=function(){d.p.sZ()&&d.p.assert(this.getTypeName,"Not an oj.Object");var a=this.constructor;a.Gq||d.b.WU(a)};d.b.g("Object.prototype.Init",{Init:d.b.prototype.Init});d.b.CHa=function(a){d.p.ut(a);a.Gq||d.b.WU(a)};o_("Object.ensureClassInitialization",d.b.CHa,d);d.b.prototype.cr=function(a){return this===a};d.b.g("Object.prototype.equals",
{cr:d.b.prototype.cr});d.b.ufa=function(a,b){d.p.ut(b);return b.bind(a)};o_("Object.createCallback",d.b.ufa,d);d.b.WU=function(a){d.p.sZ()&&(d.p.ut(a),d.p.assert(!a.Gq));a.Gq=!0;var b=a.u;b&&((b=b.constructor)&&!b.Gq&&d.b.WU(b),d.b.cqa(a));(b=a.InitClass||null)||(b=a.InitClass);b&&b.call(a)};d.b.ek=function(a,b){if(a===b)return!0;if(typeof a!==typeof b||null===a||null===b)return!1;if(a.constructor===b.constructor){if(Array.isArray(a))return d.b.wra(a,b);if(a.constructor===Object)return d.b.kC(a,b);
if(a.valueOf&&"function"===typeof a.valueOf)return a.valueOf()===b.valueOf()}return!1};o_("Object.compareValues",d.b.ek,d);d.b.wra=function(a,b){if(a.length!==b.length)return!1;for(var c=0,e=a.length;c<e;c++)if(!d.b.ek(a[c],b[c]))return!1;return!0};d.b.A5=function(a,b){if(!a)return!b||0==b.length;if(!b)return!a||0==a.length;if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c]&&(-1==a.indexOf(b[c])||-1==b.indexOf(a[c])))return!1;return!0};d.b.kC=function(a,b){var c,e=!1;if(a===b)return!0;
if(!(a instanceof Object&&b instanceof Object)||a.constructor!==b.constructor)return!1;for(c in a)if(e||(e=!0),a.hasOwnProperty(c)&&(!b.hasOwnProperty(c)||a[c]!==b[c]&&("object"!==typeof a[c]||!d.b.kC(a[c],b[c]))))return!1;for(c in b)if(e||(e=!0),b.hasOwnProperty(c)&&!a.hasOwnProperty(c))return!1;return e?!0:JSON.stringify(a)===JSON.stringify(b)};d.b.vi=function(a){var b;if(void 0===a||null===a)return!0;for(b in a)if(a.hasOwnProperty(b))return!1;return!0};d.b.cqa=function(a){d.b.cW&&d.b.p4(a,a.u)};
d.b.p4=function(a,b){if(b){var c=b.constructor;d.b.p4(a,c.u);var c=c.cW,e;if(c)for(e in c)if(c.hasOwnProperty(e)){var f=c[e];if(e!=f){var g=a.prototype;!g.hasOwnProperty(e)&&g.hasOwnProperty(f)?g[e]=g[f]:!g.hasOwnProperty(f)&&g.hasOwnProperty(e)&&(g[f]=g[e])}}}};d.py=function(){return"function"===typeof define&&define.amd};d.p={};o_("Assert",d.p,d);d.p.KHa=function(){d.p.DEBUG=!0};o_("Assert.forceDebug",d.p.KHa,d);d.p.LGa=function(){d.p.DEBUG=!1};o_("Assert.clearDebug",d.p.LGa,d);d.p.sZ=function(){return!0==
d.p.DEBUG};o_("Assert.isDebug",d.p.sZ,d);d.p.assert=function(a,b){if(d.p.DEBUG&&!a){var c=b||"",e;if(2<arguments.length){c+="(";for(e=2;e<arguments.length;e+=1)c+=arguments[e];c+=")"}d.p.Qf(c)}};o_("Assert.assert",d.p.assert,d);d.p.kd=function(){d.p.DEBUG&&d.p.Qf("Abstract function called")};o_("Assert.failedInAbstractFunction",d.p.kd,d);d.p.ve=function(a,b,c){var e;d.p.DEBUG&&(null!=a?(d.p.al(b,"function",null,0,!1),e=b.prototype,e.isPrototypeOf(a)||d.p.Qf("object '"+a+"' doesn't match prototype "+
e,0,c)):d.p.Qf("null object doesn't match prototype "+e,0,c))};o_("Assert.assertPrototype",d.p.ve,d);d.p.nGa=function(a,b,c){var e;d.p.DEBUG&&null!=a&&(null!=a?(d.p.al(b,"function",null,0,!1),e=b.prototype,e.isPrototypeOf(a)||d.p.Qf("object '"+a+"' doesn't match prototype "+e,0,c)):d.p.Qf("null object doesn't match prototype "+e,0,c))};o_("Assert.assertPrototypeOrNull",d.p.nGa,d);d.p.oGa=function(a,b,c,e){d.p.DEBUG&&(b=b.prototype,c=c.prototype,b.isPrototypeOf(a)||c.isPrototypeOf(a)||d.p.Qf("object '"+
a+"' doesn't match prototype "+b+" or "+c,0,e))};o_("Assert.assertPrototypes",d.p.oGa,d);d.p.hGa=function(a){d.p.DEBUG&&a&&void 0===a.nodeType&&d.p.Qf(a+" is not a DOM Node")};o_("Assert.assertDomNodeOrNull",d.p.hGa,d);d.p.VX=function(a){d.p.DEBUG&&(a&&void 0!==a.nodeType||d.p.Qf(a+" is not a DOM Node"))};o_("Assert.assertDomNode",d.p.VX,d);d.p.UX=function(a,b){d.p.DEBUG&&(d.p.VX(a),1!==a.nodeType?d.p.Qf(a+" is not a DOM Element"):b&&a.nodeName!==b&&d.p.Qf(a+" is not a "+b+" Element"))};o_("Assert.assertDomElement",
d.p.UX,d);d.p.gGa=function(a,b){d.p.DEBUG&&null!=a&&(d.p.VX(a),1!==a.nodeType?d.p.Qf(a+" is not a DOM Element"):b&&a.nodeName!==b&&d.p.Qf(a+" is not a "+b+" Element"))};o_("Assert.assertDomElementOrNull",d.p.gGa,d);d.p.al=function(a,b,c,e,f){!d.p.DEBUG||null==a&&f||typeof a===b||(a=a+" is not of type "+b,c&&(a=c+a),d.p.Qf(a))};o_("Assert.assertType",d.p.al,d);d.p.mi=function(a,b){d.p.DEBUG&&d.p.al(a,"object",b,0,!1)};o_("Assert.assertObject",d.p.mi,d);d.p.Xea=function(a,b){d.p.DEBUG&&d.p.al(a,"object",
b,0,!0)};o_("Assert.assertObjectOrNull",d.p.Xea,d);d.p.jGa=function(a,b){d.p.DEBUG&&(d.p.al(a,"string",b,0,!1),d.p.assert(0<a.length,"empty string"))};o_("Assert.assertNonEmptyString",d.p.jGa,d);d.p.Vq=function(a,b){d.p.DEBUG&&d.p.al(a,"string",b,0,!1)};o_("Assert.assertString",d.p.Vq,d);d.p.WX=function(a,b){d.p.DEBUG&&d.p.al(a,"string",b,0,!0)};o_("Assert.assertStringOrNull",d.p.WX,d);d.p.ut=function(a,b){d.p.DEBUG&&d.p.al(a,"function",b,0,!1)};o_("Assert.assertFunction",d.p.ut,d);d.p.Zz=function(a,
b){d.p.DEBUG&&d.p.al(a,"function",b,0,!0)};o_("Assert.assertFunctionOrNull",d.p.Zz,d);d.p.Wea=function(a,b){d.p.DEBUG&&d.p.al(a,"boolean",b,0,!1)};o_("Assert.assertBoolean",d.p.Wea,d);d.p.Uq=function(a,b){d.p.DEBUG&&d.p.al(a,"number",b,0,!1)};o_("Assert.assertNumber",d.p.Uq,d);d.p.lGa=function(a,b){d.p.DEBUG&&d.p.al(a,"number",b,0,!0)};o_("Assert.assertNumberOrNull",d.p.lGa,d);d.p.hM=function(a,b){d.p.DEBUG&&!Array.isArray(a)&&(void 0===b&&(b=a+" is not an array"),d.p.Qf(b))};o_("Assert.assertArray",
d.p.hM,d);d.p.jF=function(a,b){d.p.DEBUG&&null!=a&&!Array.isArray(a)&&(void 0===b&&(b=a+" is not an array"),d.p.Qf(b))};o_("Assert.assertArrayOrNull",d.p.jF,d);d.p.kGa=function(a,b){d.p.DEBUG&&!isNaN(a)&&(void 0===b&&(b=a+" is convertible to a number"),d.p.Qf(b))};o_("Assert.assertNonNumeric",d.p.kGa,d);d.p.mGa=function(a,b){d.p.DEBUG&&isNaN(a)&&(void 0===b&&(b=a+" is not convertible to a number"),d.p.Qf(b))};o_("Assert.assertNumeric",d.p.mGa,d);d.p.iGa=function(a,b,c){var e;if(null==a||void 0===
b[a.toString()]){if(void 0===c){c=" is not in set: {";for(e in b)b.hasOwnProperty(e)&&(c+=e,c+=",");c=a+(c+"}")}d.p.Qf(c)}};o_("Assert.assertInSet",d.p.iGa,d);d.p.Qf=function(a,b,c){b="Assertion";c&&(b+=" ("+c+")");b+=" failed: ";void 0!==a&&(b+=a);throw Error(b);};o_("Assert.assertionFailed",d.p.Qf,d);var f=b.__oj_Assert_DEBUG;void 0!==f&&(d.p.DEBUG=f);d.yj=function(){this.Init()};o_("EventSource",d.yj,d);d.b.sa(d.yj,d.b,"oj.EventSource");d.yj.prototype.Init=function(){this.$e=[];d.yj.u.Init.call(this)};
d.b.g("EventSource.prototype.Init",{Init:d.yj.prototype.Init});d.yj.prototype.on=function(a,b){var c=!1,d;for(d=0;d<this.$e.length;d++)if(this.$e[d].eventType==a&&this.$e[d].eventHandlerFunc==b){c=!0;break}c||this.$e.push({eventType:a,eventHandlerFunc:b})};d.b.g("EventSource.prototype.on",{on:d.yj.prototype.on});d.yj.prototype.off=function(a,b){var c;for(c=this.$e.length-1;0<=c;c--)if(this.$e[c].eventType==a&&this.$e[c].eventHandlerFunc==b){this.$e.splice(c,1);break}};d.b.g("EventSource.prototype.off",
{off:d.yj.prototype.off});d.yj.prototype.handleEvent=function(a,b){var c,d;for(c=0;c<this.$e.length;c++)if(d=this.$e[c],d.eventType==a&&(d=d.eventHandlerFunc.apply(this,Array.prototype.slice.call(arguments).slice(1)),!1===d))return!1;return!0};d.b.g("EventSource.prototype.handleEvent",{handleEvent:d.yj.prototype.handleEvent});d.fa={};o_("Config",d.fa,d);d.fa.hj=function(){var a;if(d.py())return d.p.assert(void 0!==g,"ojtranslations module must be defined"),a=g._ojLocale_,"root"==a?"en":a;a=d.fa.qz;
null==a&&((a=document.documentElement.lang)||(a=void 0===navigator?"en":(navigator.language||navigator.userLanguage||"en").toLowerCase()),d.fa.qz=a=a.toLowerCase());return a};o_("Config.getLocale",d.fa.hj,d);d.fa.xLa=function(b,c){if(d.py()){var e=["ojL10n!ojtranslations/nls/"+b+"/ojtranslations"],f=0;if(d.$a&&(e.push("ojL10n!ojtranslations/nls/"+b+"/localeElements"),d.Nm)){var r=d.Nm.dpa(),f=r.length;r.forEach(function(a){e.push("ojL10n!ojtranslations/nls/"+b+a)})}a(e,function(a,b){g=a;b&&d.$a.hpa(b);
for(var h=0;h<f;h++)d.Nm.P3(arguments[h+2]);c&&c()})}else d.fa.qz=b,c&&c()};o_("Config.setLocale",d.fa.xLa,d);d.fa.gb=function(b){var c=/^\/|:/;return null==b||c.test(b)?b:(c=d.fa.YCa)?c+("/"==c.charAt(c.length-1)?"":"/")+b:d.py()?(c=a.toUrl("ojs/_foo_"),c.replace(/[^\/]*$/,"../"+b)):b};o_("Config.getResourceUrl",d.fa.gb,d);d.fa.zLa=function(a){d.fa.YCa=a};o_("Config.setResourceBaseUrl",d.fa.zLa,d);d.fa.uLa=function(a){d.fa.jqa=a};o_("Config.setAutomationMode",d.fa.uLa,d);d.fa.EY=function(){return d.fa.jqa};
o_("Config.getAutomationMode",d.fa.EY,d);d.fa.eha=function(){var a="Oracle JET Version: "+d.version+"\n",a=a+("Oracle JET Revision: "+d.revision+"\n"),b="undefined"!==typeof window;b&&window.navigator&&(a+="Browser: "+window.navigator.userAgent+"\n",a+="Browser Platform: "+window.navigator.platform+"\n");$&&($.fn&&(a+="jQuery Version: "+$.fn.jquery+"\n"),$.ui&&$.ui.version&&(a+="jQuery UI Version: "+$.ui.version+"\n"));d.ya&&(a+="Knockout Version: "+d.ya.fpa()+"\n");b&&window.cLa&&(a+="Require Version: "+
window.cLa.version+"\n");return a};o_("Config.getVersionInfo",d.fa.eha,d);d.fa.aKa=function(){console.log(d.fa.eha())};o_("Config.logVersionInfo",d.fa.aKa,d);d.Oa=function(){};d.Oa.xk={SG:"ie",TO:"firefox",qP:"safari",Tka:"chrome",fla:"edge",KB:"unknown"};d.Oa.bo={p1:"trident",EP:"webkit",r0:"gecko",Ska:"blink",gla:"edgehtml",KB:"unknown"};d.Oa.yl={x1:"Windows",Ula:"Solaris",H0:"Mac",KB:"Unknown",a0:"Android",fP:"IOS",xla:"Linux"};d.Oa.er=function(){var a;d.cb.hm(a)&&(a=navigator.userAgent);a=a.toLowerCase();
var b=d.cb.Ow(a),c=d.Oa.Hsa;if(c&&c.hashCode===b)return{os:c.os,browser:c.browser,browserVersion:c.browserVersion,engine:c.engine,engineVersion:c.engineVersion,hashCode:c.hashCode};var c=d.Oa.yl.KB,e=d.Oa.xk.KB,f=0,g=d.Oa.bo.KB,s=0;-1<a.indexOf("iphone")||-1<a.indexOf("ipad")?c=d.Oa.yl.fP:-1<a.indexOf("mac")?c=d.Oa.yl.H0:-1<a.indexOf("sunos")?c=d.Oa.yl.Ula:-1<a.indexOf("android")?c=d.Oa.yl.a0:-1<a.indexOf("linux")?c=d.Oa.yl.xla:-1<a.indexOf("win")&&(c=d.Oa.yl.x1);-1<a.indexOf("msie")?(e=d.Oa.xk.SG,
f=d.Oa.Vk(a,/msie (\d+[.]\d+)/),a.indexOf("trident")&&(g=d.Oa.bo.p1,s=d.Oa.Vk(a,/trident\/(\d+[.]\d+)/))):-1<a.indexOf("trident")?(e=d.Oa.xk.SG,f=d.Oa.Vk(a,/rv:(\d+[.]\d+)/),a.indexOf("trident")&&(g=d.Oa.bo.p1,s=d.Oa.Vk(a,/trident\/(\d+[.]\d+)/))):-1<a.indexOf("edge")?(e=d.Oa.xk.fla,f=s=d.Oa.Vk(a,/edge\/(\d+[.]\d+)/),g=d.Oa.bo.gla):-1<a.indexOf("chrome")?(e=d.Oa.xk.Tka,f=d.Oa.Vk(a,/chrome\/(\d+[.]\d+)/),28<=f?(g=d.Oa.bo.Ska,s=f):(g=d.Oa.bo.EP,s=d.Oa.Vk(a,/applewebkit\/(\d+[.]\d+)/))):-1<a.indexOf("safari")?
(e=d.Oa.xk.qP,f=d.Oa.Vk(a,/version\/(\d+[.]\d+)/),g=d.Oa.bo.EP,s=d.Oa.Vk(a,/applewebkit\/(\d+[.]\d+)/)):-1<a.indexOf("firefox")&&(e=d.Oa.xk.TO,f=d.Oa.Vk(a,/rv:(\d+[.]\d+)/),g=d.Oa.bo.r0,s=d.Oa.Vk(a,/gecko\/(\d+)/));c=d.Oa.Hsa={hashCode:b,os:c,browser:e,browserVersion:f,engine:g,engineVersion:s};return{os:c.os,browser:c.browser,browserVersion:c.browserVersion,engine:c.engine,engineVersion:c.engineVersion,hashCode:c.hashCode}};d.Oa.Vk=function(a,b){var c=a.match(b);return c&&(c=c[1])?parseFloat(c):
0};d.Wc=function(){};o_("ThemeUtils",d.Wc,d);d.Wc.zIa=function(){return(d.Wc.De("oj-theme-json")||{}).name};o_("ThemeUtils.getThemeName",d.Wc.zIa,d);d.Wc.AIa=function(){return(d.Wc.De("oj-theme-json")||{}).targetPlatform};o_("ThemeUtils.getThemeTargetPlatform",d.Wc.AIa,d);d.Wc.JGa=function(){this.qI=null};o_("ThemeUtils.clearCache",d.Wc.JGa,d);d.Wc.De=function(a){null==this.qI&&(this.qI={},this.Taa={},this.sya=window.getComputedStyle(document.head).getPropertyValue("font-family"));var b=this.qI[a];
if(b===this.Taa)return null;if(null!=b)return b;var c=document.createElement("meta");c.className=a;document.head.appendChild(c);var e=window.getComputedStyle(c).getPropertyValue("font-family");if(null!=e)if(e==this.sya)d.t.warn("parseJSONFromFontFamily: When the selector ",a," is applied the font-family read off the dom element is ",e,". The parent dom elment has the same font-family value."," This is interpreted to mean that no value was sent down for selector ",a,". Null will be returned.");else if(e=
e.replace(/^['"]+|\s+|\\|(;\s?})+|['"]$/g,""))try{b=JSON.parse(e)}catch(f){throw d.t.error("Error parsing json for selector "+a+".\nString being parsed is "+e+". Error is:\n",f),document.head.removeChild(c),f;}document.head.removeChild(c);this.qI[a]=null==b?this.Taa:b;return b};o_("ThemeUtils.parseJSONFromFontFamily",d.Wc.De,d);d.bc=function(){};o_("ResponsiveUtils",d.bc,d);d.bc.Jm={SM:"sm",MD:"md",LG:"lg",XL:"xl",XXL:"xxl"};o_("ResponsiveUtils.SCREEN_RANGE",d.bc.Jm,d);d.bc.Bx={SM_UP:"sm-up",MD_UP:"md-up",
LG_UP:"lg-up",XL_UP:"xl-up",XXL_UP:"xxl-up",SM_ONLY:"sm-only",MD_ONLY:"md-only",LG_ONLY:"lg-only",XL_ONLY:"xl-only",MD_DOWN:"md-down",LG_DOWN:"lg-down",XL_DOWN:"xl-down",HIGH_RESOLUTION:"high-resolution"};o_("ResponsiveUtils.FRAMEWORK_QUERY_KEY",d.bc.Bx,d);d.bc.Wu={};d.bc.Wu[d.bc.Jm.SM]=0;d.bc.Wu[d.bc.Jm.MD]=1;d.bc.Wu[d.bc.Jm.LG]=2;d.bc.Wu[d.bc.Jm.XL]=3;d.bc.Wu[d.bc.Jm.XXL]=4;d.bc.qva=function(a){var b=document.getElementsByClassName(a).item(0);null===b&&(b=document.createElement("meta"),b.className=
a,document.head.appendChild(b));return window.getComputedStyle(b).getPropertyValue("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")};d.bc.kA=function(a){a=d.bc.qva("oj-mq-"+a);return"null"==a?null:a};o_("ResponsiveUtils.getFrameworkQuery",d.bc.kA,d);d.bc.compare=function(a,b){var c=d.bc.Wu[a],e=d.bc.Wu[b];if(void 0==c)throw"size1 param "+a+" illegal, please use one of the screen size constants like oj.ResponsiveUtils.SCREEN_RANGE.MD";if(void 0==e)throw"size2 param "+b+" illegal, please use one of the screen size constants like oj.ResponsiveUtils.SCREEN_RANGE.MD";
return c-e};o_("ResponsiveUtils.compare",d.bc.compare,d);d.cb={};o_("StringUtils",d.cb,d);d.cb.Woa=/^\s*|\s*$/g;d.cb.vi=function(a){return null===a?!0:0===d.cb.trim(a).length};o_("StringUtils.isEmpty",d.cb.vi,d);d.cb.hm=function(a){return void 0===a||d.cb.vi(a)?!0:!1};o_("StringUtils.isEmptyOrUndefined",d.cb.hm,d);d.cb.Re=function(a){return null!==a&&("string"===typeof a||a instanceof String)};o_("StringUtils.isString",d.cb.Re,d);d.cb.trim=function(a){return d.cb.Re(a)?a.replace(d.cb.Woa,""):a};o_("StringUtils.trim",
d.cb.trim,d);d.cb.Ow=function(a){var b=0;if(0===a.length)return b;for(var c=0;c<a.length;c++)b=(b<<5)-b+a.charCodeAt(c),b&=b;return b};d.Uc={};o_("CollectionUtils",d.Uc,d);d.Uc.yf=function(a,b,c,e,f){return d.Uc.L5(a,b,c,e,f,0)};o_("CollectionUtils.copyInto",d.Uc.yf,d);d.Uc.isPlainObject=function(a){if("object"===typeof a)try{if(a.constructor&&a.constructor.prototype.hasOwnProperty("isPrototypeOf"))return!0}catch(b){}return!1};o_("CollectionUtils.isPlainObject",d.Uc.isPlainObject,d);d.Uc.L5=function(a,
b,c,e,f,g){var s,q,p;if(void 0===f||null===f)f=Number.MAX_VALUE;if(a&&b&&a!==b){p=Object.keys(b);for(var n=0;n<p.length;n++){s=p[n];q=c?c(s):s;s=b[s];var u=!1;if(e&&g<f){var v=a[q];d.Uc.isPlainObject(s)&&(null==v||d.Uc.isPlainObject(v))&&(u=!0,a[q]=v||{},d.Uc.L5(a[q],s,c,!0,f,g+1))}u||(a[q]=s)}}return a};d.va={};o_("Translations",d.va,d);d.va.w_=function(a){d.va.tR=a};o_("Translations.setBundle",d.va.w_,d);d.va.Jga=function(a){return d.va.L8(a)};o_("Translations.getResource",d.va.Jga,d);d.va.Lc=function(a,
b){return null==a?null:d.va.eua(a,b)};o_("Translations.applyParameters",d.va.Lc,d);d.va.F=function(a,b){var c=d.va.L8(a);if(null==c)return a;var e={};2<arguments.length?e=Array.prototype.slice.call(arguments,1):2==arguments.length&&(e=arguments[1],"object"===typeof e||e instanceof Array||(e=[e]));return d.va.Lc(c,e)};o_("Translations.getTranslatedString",d.va.F,d);d.va.KM=function(a){a=d.va.v7()[a];var b,c;if(null==a)return{};b={};for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};o_("Translations.getComponentTranslations",
d.va.KM,d);d.va.L8=function(a){a=a?a.split("."):[];var b=d.va.v7(),c=a.length,e=0,f=a[e];for(d.p.mi(b);0<--c&&b;)b=b[f],e++,f=a[e];return b?b[f]||null:null};d.va.eua=function(a,b){var c=a.length,d=[],e=null,f=!1,g=!1,q=!1,p=!1,n,u;for(u=0;u<c;u++){var v=a.charAt(u),w=!1;if(f)w=!0,f=!1;else switch(v){case "$":f=!0;break;case "{":p||(g||(n=!1,e=[]),g=!0);break;case "}":g&&0<e.length&&(g=b[e.join("")],d.push(void 0===g?"null":g));g=!1;break;case "[":g||(q?p=!0:q=!0);break;case "]":p?p=!1:q=!1;break;
default:w=!0}w&&(g?","==v||" "==v?n=!0:n||e.push(v):p||d.push(v))}return d.join("")};d.va.v7=function(){var a=d.va.tR;return a?a:d.py()?(d.p.assert(void 0!==g,"ojtranslations module must be defined"),g):{}};d.ou=function(a){this.II=a;this.c4=d.ou.g9();this.Rl=this.c4.toString(36)+"_"+Math.random().toString(36)};Object.defineProperties(d.ou.prototype,{id:{get:function(){return this.Rl},enumerable:!0},description:{get:function(){if($.isFunction(this.II))return this.II();if(this.II)return this.II.toString()},
enumerable:!0}});d.ou.prototype.toString=function(){var a;a="oj.BusyState [id\x3d"+this.id;this.description&&(a+=", description\x3d"+this.description);return a+=", elapsed\x3d"+(d.ou.g9()-this.c4)+"]"};d.ou.prototype.cr=function(a){return this.id===a.id&&this.description===a.description};d.ou.g9=function(){return window.performance?window.performance.now():(new Date).getTime()};d.nf=function(){this.Init()};o_("BusyContext",d.nf,d);d.b.sa(d.nf,d.b,"oj.BusyContext");d.nf.prototype.Init=function(){d.nf.u.Init.call(this);
this.CL=new Map;this.Caa={Aga:function(){this.zV||(this.zV=new Promise(this.Pqa.bind(this)));return this.zV},iLa:function(){this.$qa();this.AV&&this.AV(!0);this.AV=this.zV=null},qIa:function(a,b){var c,e=new Promise(function(e,f){c=window.setTimeout(function(){d.nf.waa(a);d.t.info("BusyContext.whenReady: rejected");var c=d.nf.Sg(a),e=Error("whenReady timeout of "+b+"ms expired with the following busy states: "+c.join(", "));e.busyStates=c;f(e)},b)});this.VW.push(c);return Promise.race([this.Aga(),
e])},$qa:function(){var a=this.VW;this.VW=[];for(var b=0;b<a.length;b++)window.clearTimeout(a[b])},Pqa:function(a){this.AV=a},VW:[]}};d.nf.waa=function(a){d.t.option("level")===d.t.Du&&(d.t.info("\x3e\x3e Busy states: %d",a.size),a=d.nf.Sg(a),0<a.length&&d.t.info(a.join("\n")))};d.nf.Sg=function(a){var b=[];a.forEach(function(a){b.push(a)});return b};d.nf.prototype.PX=function(a){d.t.info("BusyContext.addBusyState: start");var b=this.CL;a=new d.ou(a.description);d.t.info("\x3e\x3e "+a);b.set(a.id,
a);d.t.info("BusyContext.addBusyState: end");return this.lCa.bind(this,a)};d.b.g("BusyContext.prototype.addBusyState",{PX:d.nf.prototype.PX});d.nf.prototype.whenReady=function(a){d.t.info("BusyContext.whenReady: start, timeout:%d",a);var b=this.CL;if(0===b.size)return d.t.info("BusyContext.whenReady: resolved"),Promise.resolve(!0);var c=this.Caa;a=isNaN(a)?c.Aga():c.qIa(b,a);d.t.info("BusyContext.whenReady: end");return a};d.b.g("BusyContext.prototype.whenReady",{whenReady:d.nf.prototype.whenReady});
d.nf.prototype.Vha=function(){d.t.info("BusyContext.isReady: start");var a=this.CL,b=0===a.size;d.nf.waa(a);d.t.info("BusyContext.isReady: end");return b};d.b.g("BusyContext.prototype.isReady",{Vha:d.nf.prototype.Vha});d.nf.prototype.lCa=function(a){var b=this.CL;if(!b["delete"](a.id))throw Error("Busy state has already been resolved:\n"+a);0===b.size&&(a=this.Caa,d.t.info("BusyContext._removeBusyState: resolving whenReady promises"),a.iLa());d.t.info("BusyContext._removeBusyState: end")};d.nf.prototype.Sea=
function(){if("oj_whenReady"in window&&window.oj_whenReady){var a=this.D4;this.D4=null;a?a():d.t.oOa("BusyContext.applicationBoostrapComplete already invoked.")}else d.t.info("BusyContext.applicationBoostrapComplete: strategy not enabled.")};d.b.g("BusyContext.prototype.applicationBoostrapComplete",{Sea:d.nf.prototype.Sea});d.nf.prototype.cpa=function(){"oj_whenReady"in window&&window.oj_whenReady&&(this.D4=this.PX({description:'Application loading. Busy state enabled by setting the "window.oj_whenReady \x3d true;" global variable. Application bootstrap busy state is released by calling "oj.Context.getPageContext().getBusyContext().applicationBoostrapComplete();".'}))};
d.Context=function(){this.Init()};o_("Context",d.Context,d);d.b.sa(d.Context,d.b,"oj.Context");d.Context.prototype.Init=function(){d.Context.u.Init.call(this)};d.Context.getContext=function(){return d.Context.UY()};d.Context.UY=function(){d.Context.fba||(d.Context.fba=new d.Context);return d.Context.fba};o_("Context.getPageContext",d.Context.UY,d);d.Context.prototype.FY=function(){this.I4||(this.I4=new d.nf);return this.I4};d.b.g("Context.prototype.getBusyContext",{FY:d.Context.prototype.FY});"undefined"!==
typeof window&&d.Context.UY().FY().cpa();(function(){function a(b,c){c=c||{bubbles:!1,cancelable:!1,detail:void 0};var d=document.createEvent("CustomEvent");d.initCustomEvent(b,c.bubbles,c.cancelable,c.detail);return d}"undefined"!==typeof window&&"function"!==typeof window.CustomEvent&&(a.prototype=window.Event.prototype,window.CustomEvent=a)})();(function(){d.sf={};d.sf.sF=function(c){var d={};if(c){var e=a.exec(c),e=e?e[1]:null;e||(d.Jfa=!0,e=(e=b.exec(c))?e[1]:null);d.expr=e}return d};d.sf.YX=
function(a){return a.toLowerCase().replace(/-(.)/g,function(a,b){return b.toUpperCase()})};d.sf.eB=function(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})};d.sf.nM=function(a,b,c){var e;switch(c.toLowerCase()){case "boolean":null==b||"true"===b||""===b||b.toLowerCase()===d.sf.eB(a)?e=!0:"false"===b&&(e=!1);break;case "number":isNaN(b)||(e=Number(b));break;case "string":e=b;break;default:try{e=JSON.parse(b)}catch(h){}}null==e&&d.t.error("Unable to parse value %s for property %s with type %s.",
b,a,c);return e};var a=/(?:\{\{\s*)([^\s]+)(?:\s*\}\})/,b=/(?:\[\[\s*)([^\s]+)(?:\s*\]\])/})();return d});